public class Test {
    public static void main(String[] args) {
        PriorityQueue priorityQueue = new PriorityQueue();
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        priorityQueue.init(array);
        priorityQueue.createHeap();
        priorityQueue.offer(70);
        System.out.println(priorityQueue.poll());
        System.out.println(priorityQueue.peekHeap());
    }
}
